<?php


namespace app\admin\model;


use think\Model;
use think\model\concern\SoftDelete;

class File extends Model
{
    use SoftDelete;
    protected $name = 'files';


    public function FileType(){
        return $this->belongsTo(FileType::class,'file_type_id');
    }

    public function admin(){
        return $this->belongsTo(Admin::class,'admin_id');
    }

}